<template>
    <div class="Hot">
        <div class="title">人气推荐</div>
        <van-card
            v-for="(item,index) in hotGoodsList"
            :key="index"
            :price=" item.retail_price.toFixed(2)"
            :desc="item.goods_brief"
            :title="item.name"
            :thumb="item.list_pic_url"
        />
    </div>
</template>

<script>
export default {
    props:['hotGoodsList'],
    components: {

    },
    data() {
        return {

        }
    },
    computed: {

    },
    created() {

    },
    mounted() {

    },
    methods: {

    }
}
</script>

<style lang='less' scoped>
.Hot {
  margin-top: 0.15rem;
  background-color: #fff;
  .title {
    text-align: center;
    height: 0.5rem;
    line-height: 0.5rem;
    font-size: 0.2rem;
  }

  
}
</style>
